package cn.yh.st.core.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import cn.yh.st.core.domain.TestDemo;

import com.github.abel533.mapper.Mapper;

@MyBatisRepository
public interface TestDemoDao extends Mapper<TestDemo> {

	@Select("select * from test_demo where id=#{id}")
	TestDemo findbyId(@Param("id") long id);
}
